<template>
	<view class="app-service">
		<view>
			<web-view @message="handleMessage" src="/hybrid/html/local.html" style="height: 100%;"></web-view>
		</view>
	</view>
</template>

<script>
	import {mapGetters, mapMutations} from "vuex"
	export default {
		computed:  {
			i18n() {
				return this.$t('message');
			},
			...mapGetters([
				'getRequestUrl',
				"getLoginInfo",
				'getLangType',
				'getLang'
			])
		},
		methods: {
			clickClose() {
				uni.navigateBack({
					delta: 1
				})
			}
		},
		onReady() {
			
			uni.setNavigationBarTitle({
				title:this.getLang==1?'客服中心':'Customer Service'
			})
			// #ifdef APP-PLUS
			let currentWebview = this.$mp.page.$getAppWebview();
			setTimeout(function() {
				let wv = currentWebview.children()[0];
				wv.setStyle({top: 0});
			}, 200);
			// #endif
		}
	}
</script>

<style lang="scss">
@import '../../common/scss/variable.scss';
</style>
